﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;

namespace CodeCamp.Model
{
    //[Table("cc_SpeakerRateSpeakers")]
    public class SpeakerRateSpeaker
    {
        //[Key]
        //[DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        //[ForeignKey("Presenter")]
        //[Column(Order = 0)]
        public int PresenterId { get; set; }

        [Required]
        public virtual Presenter Presenter { get; set; }

        [MaxLength(256)]
        public string SpeakerUrl { get; set; }
    }
}
